Ignore .svn when doing `diff -r`

Posted by Sridhar Ratnakumar on Super User See other posts from Super User or by Sridhar Ratnakumar
Published on 2010-04-12T23:15:22Z Indexed on 2010/04/12 23:23 UTC
Read the original article Hit count: 437

Filed under:
|
|
|

diff has an option --recursive (-r) to do a comparison between two directories (the files inside them). Is there a way to make diff ignore certain sub-directories (eg: .svn)?

$ diff -r src1/ src2/

© Super User or respective owner

Related posts about diff

Related posts about svn